package com.example.test.conview.bean;

import org.litepal.crud.LitePalSupport;

public class ModelBase extends LitePalSupport {


    private String name;//mModel
    private int index;//machineId
    private int maxWidth;
    private int minWidth;
    private int maxHeight;
    private int minHeight;
    private int maxConcentration;//打印浓度
    private int minConcentration;
    private int maxSpeed;//打印速度
    private int minSpeed;
    private int defaultConcentration = 6;
    private int defaultSpeed = 3;
    //add

    private int seriesId;//series||seriesId
    private String seriesName;
    private int orderNum;
    private int clientType;
    private String seriesImgUrl;
    private int colorType;
    private int isShow;
    private String bluetoothName;
    private String imgUrl;
    private float sideLineX;
    private float sideLineY;
    private int printWidth;
    private float printHeadX;
    private float printHeadY;
    private String paperType;
    private int defaultWidth;
    private int defaultHeight;
    private String agreementType;
    private int cutMode;
    private String templateHeight;

    public ModelBase() {
    }

    public ModelBase(String name) {
        this.name = name;
    }

    /**   32
     * @param name             设备名称
     * @param maxWidth         最大打印宽度
     * @param minWidth         最小打印高度
     * @param maxHeight        最大打印高度
     * @param minHeight        最小打印高度
     * @param maxConcentration 最大打印浓度
     * @param minConcentration 最小打印浓度
     * @param maxSpeed         最大打印速度
     * @param minSpeed         最小打印速度
     */
    public ModelBase(int index, String name, int minWidth, int maxWidth, int minHeight, int maxHeight, int minConcentration, int maxConcentration, int minSpeed, int maxSpeed
            , int seriesId, String seriesName, int orderNum, int clientType, String imgUrl, int colorType, int isShow, String bluetoothName, String seriesImgUrl, float sideLineX
            , float sideLineY, int printWidth, float printHeadX, float printHeadY, String paperType, int defaultWidth, int defaultHeight, String agreementType, int cutMode, String templateHeight) {
        this.index = index;
        this.name = name;
        this.maxWidth = maxWidth;
        this.minWidth = minWidth;
        this.maxHeight = maxHeight;
        this.minHeight = minHeight;
        this.maxConcentration = maxConcentration;
        this.minConcentration = minConcentration;
        this.maxSpeed = maxSpeed;
        this.minSpeed = minSpeed;

        //
        this.seriesId = seriesId;
        this.seriesName = seriesName;
        this.orderNum = orderNum;
        this.clientType = clientType;
        this.seriesImgUrl = seriesImgUrl;
        this.colorType = colorType;
        this.isShow = isShow;
        this.bluetoothName = bluetoothName;
        this.imgUrl = imgUrl;
        this.sideLineX = sideLineX;
        this.sideLineY = sideLineY;
        this.printWidth = printWidth;
        this.printHeadX = printHeadX;
        this.printHeadY = printHeadY;
        this.paperType = paperType;
        this.defaultWidth = defaultWidth;
        this.defaultHeight = defaultHeight;
        this.agreementType = agreementType;
        this.cutMode = cutMode;
        this.templateHeight = templateHeight;
    }
    /**
     * @param name             设备名称
     * @param maxWidth         最大打印宽度
     * @param minWidth         最小打印高度
     * @param maxHeight        最大打印高度
     * @param minHeight        最小打印高度
     * @param maxConcentration 最大打印浓度
     * @param minConcentration 最小打印浓度
     * @param maxSpeed         最大打印速度
     * @param minSpeed         最小打印速度
     */
    public ModelBase(int index, String name, int minWidth, int maxWidth, int minHeight, int maxHeight, int minConcentration, int maxConcentration, int minSpeed, int maxSpeed
    ) {
        this.index = index;
        this.name = name;
        this.maxWidth = maxWidth;
        this.minWidth = minWidth;
        this.maxHeight = maxHeight;
        this.minHeight = minHeight;
        this.maxConcentration = maxConcentration;
        this.minConcentration = minConcentration;
        this.maxSpeed = maxSpeed;
        this.minSpeed = minSpeed;
    }

    public int getIndex() {
        return index;
    }

    public void setIndex(int index) {
        this.index = index;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getMaxWidth() {
        return maxWidth;
    }

    public void setMaxWidth(int maxWidth) {
        this.maxWidth = maxWidth;
    }

    public int getMinWidth() {
        return minWidth;
    }

    public void setMinWidth(int minWidth) {
        this.minWidth = minWidth;
    }

    public int getMaxHeight() {
        return maxHeight;
    }

    public void setMaxHeight(int maxHeight) {
        this.maxHeight = maxHeight;
    }

    public int getMinHeight() {
        return minHeight;
    }

    public void setMinHeight(int minHeight) {
        this.minHeight = minHeight;
    }

    public int getMaxConcentration() {
        return maxConcentration;
    }

    public void setMaxConcentration(int maxConcentration) {
        this.maxConcentration = maxConcentration;
    }

    public int getMinConcentration() {
        return minConcentration;
    }

    public void setMinConcentration(int minConcentration) {
        this.minConcentration = minConcentration;
    }

    public int getMaxSpeed() {
        return maxSpeed;
    }

    public void setMaxSpeed(int maxSpeed) {
        this.maxSpeed = maxSpeed;
    }

    public int getMinSpeed() {
        return minSpeed;
    }

    public void setMinSpeed(int minSpeed) {
        this.minSpeed = minSpeed;
    }

    public int getDefaultConcentration() {
        return defaultConcentration;
    }

    public void setDefaultConcentration(int defaultConcentration) {
        this.defaultConcentration = defaultConcentration;
    }

    public int getDefaultSpeed() {
        return defaultSpeed;
    }

    public void setDefaultSpeed(int defaultSpeed) {
        this.defaultSpeed = defaultSpeed;
    }
    public int getSeriesId() {
        return seriesId;
    }

    public void setSeriesId(int seriesId) {
        this.seriesId = seriesId;
    }
    public String getSeriesName() {
        return seriesName;
    }

    public void setSeriesName(String seriesName) {
        this.seriesName = seriesName;
    }
    public int getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(int orderNum) {
        this.orderNum = orderNum;
    }
    public int getClientType() {
        return clientType;
    }

    public void setClientType(int clientType) {
        this.clientType = clientType;
    }
    public String getSeriesImgUrl() {
        return seriesImgUrl;
    }

    public void setSeriesImgUrl(String seriesImgUrl) {
        this.seriesImgUrl = seriesImgUrl;
    }
    public int getColorType() {
        return colorType;
    }

    public void setColorType(int colorType) {
        this.colorType = colorType;
    }

    public int getIsShow() {
        return isShow;
    }

    public void setIsShow(int isShow) {
        this.isShow = isShow;
    }
    public String getBluetoothName() {
        return bluetoothName;
    }

    public void setBluetoothName(String bluetoothName) {
        this.bluetoothName = bluetoothName;
    }
    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public float getSideLineX() {
        return sideLineX;
    }

    public void setSideLineX(float sideLineX) {
        this.sideLineX = sideLineX;
    }
    public float getSideLineY() {
        return sideLineY;
    }

    public void setSideLineY(float sideLineY) {
        this.sideLineY = sideLineY;
    }
    public int getPrintWidth() {
        return printWidth;
    }

    public void setPrintWidth(int printWidth) {
        this.printWidth = printWidth;
    }
    public float getPrintHeadX() {
        return printHeadX;
    }

    public void setPrintHeadX(float printHeadX) {
        this.printHeadX = printHeadX;
    }
    public float getPrintHeadY() {
        return printHeadY;
    }

    public void setPrintHeadY(float printHeadY) {
        this.printHeadY = printHeadY;
    }
    public String getPaperType() {
        return paperType;
    }

    public void setPaperType(String paperType) {
        this.paperType = paperType;
    }
    public int getDefaultWidth() {
        return defaultWidth;
    }

    public void setDefaultWidth(int defaultWidth) {
        this.defaultWidth = defaultWidth;
    }
    public int getDefaultHeight() {
        return defaultHeight;
    }

    public void setDefaultHeight(int defaultHeight) {
        this.defaultHeight = defaultHeight;
    }
    public String getAgreementType() {
        return agreementType;
    }

    public void setAgreementType(String agreementType) {
        this.agreementType = agreementType;
    }
    public int getCutMode() {
        return cutMode;
    }
    public void setCutMode(int cutMode) {
        this.cutMode = cutMode;
    }
    public String getTemplateHeight() {
        return templateHeight;
    }

    public void setTemplateHeight(String templateHeight) {
        this.templateHeight = templateHeight;
    }
}